package com.it.gulimall.gateway.controller;

import com.it.common.utils.R;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yeah
 * @date 2020/5/7 0:33
 */
@RestController
public class GatewatController {
    @Value("${testoo}")
    private String testoo;
    @GetMapping("/test")
    public R indexTest(){
        return R.ok(testoo);

    }
}
